<%--
	 +----------------------------------------------------------------------+
	 |																		|
	 | 云网 配置文件															|
	 |																		|		
	 +----------------------------------------------------------------------+
--%>
<%@ include file="/common/taglibs.jsp"%>
<probiz:pageHeading pageHeadingKey="system.pay.yun" />
<content tag="buttons">
	<probiz:iconBtn btnType="save" onclick="return fnDoAction(this, 'saveConfigAction');" />
	<probiz:iconBtn btnType="back" url="${ctxPath}/system/paymentMethod.html" />
</content>

<div class="top clearfix">
	<ul class="tab">
		<li class="curr"><span><fmt:message key="system.pay.yun"/></span></li>
	</ul>
</div>

<div class="modify">
	<form class="mainForm" name="configForm" id="configForm" method="post" action="paymentMethod.html" onsubmit="return validateFormWithMsg(this);">
	<input type="hidden" name="paymentGatewayId" value="${paymentGateway.paymentGatewayId}"/>
		<table  width="100%" border="0" cellspacing="0" cellpadding="0" class="com_modi_table">
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.pay.shuo"/></h4></th>
			</tr>
			<tr>
				<th colspan="2" >
					<IMG alt="<fmt:message key="system.pay.yunw"/>" src="<c:url value="/pages/system/${paymentGateway.gatewayIcon}"/>"/>
					<ul class="intro">
						<li><fmt:message key="system.pay.please"/><a target="_blank" href="http://www.cncard.net" style="color:red;text-decoration: underline"><fmt:message key="system.pay.yunw"/></a><fmt:message key="system.pay.kait"/></li>
						<li><fmt:message key="system.pay.go"/><a target="_blank" href="https://www.cncard.net/cnpayment/admin/" style="color:red;text-decoration: underline"><fmt:message key="system.pay.later"/></a><fmt:message key="system.pay.hoiu"/>
						<li><fmt:message key="system.pay.guan"/></li>
					</ul>
				</th>
			</tr>
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.paymentGateway.configItem"/></h4></th>
			</tr>
		<tr>
			<th class="label_width_1">
				<fmt:message key="system.pay.saleser"/>(<span class="red">*</span>):
			</th>
			<td>
				<input class="inputtxt" style="width: 350px" name="c_mid" value="${paymentGateway.configData.c_mid}" validConf="required,maxlength=100"/>
			</td>
		</tr>
		<tr> 
			<th>
				<fmt:message key="system.pay.michi"/>(<span class="red">*</span>):
			</th>
			<td>
				<input class="inputtxt" style="width: 350px" name="c_pass" value="${paymentGateway.configData.c_pass}" validConf="required,maxlength=100"/>
			</td>
		</tr>
		<tr> 
			<th>
				<fmt:message key="system.pay.bizhong"/>(<span class="red">*</span>):
			</th>
			<td>
				<select name="c_moneytype" style="width:200px" class="selecttxt">
					<option value="0" <c:if test="${paymentGateway.configData.c_moneytype==0}">selected</c:if>><fmt:message key="system.pay.ren"/></option>
					<option value="1" <c:if test="${paymentGateway.configData.c_moneytype==1}">selected</c:if>><fmt:message key="system.pay.doller"/></option>
				</select>
			</td>
		</tr>
		<tr> 
			<th>
				<fmt:message key="system.pay.ce"/>(<span class="red">*</span>):
			</th>
			<td>
				<select name="c_language" style="width:200px" class="selecttxt" validConf="required">
					<option value="0" <c:if test="${paymentGateway.configData.c_language==0}">selected</c:if>><fmt:message key="system.pay.china"/></option>
					<option value="1" <c:if test="${paymentGateway.configData.c_language==1}">selected</c:if>><fmt:message key="system.pay.font3"/></option>
				</select>
			</td>
		</tr>
		<tr> 
			<th>
				<fmt:message key="system.pay.title3"/>(<span class="red">*</span>):
			</th>
			<td>
				<select name="type" style="width:200px" class="selecttxt" validConf="required">
					<option value="0" <c:if test="${paymentGateway.configData.type=='0'}">selected</c:if>><fmt:message key="system.pay.ceshi"/></option>
					<option value="1" <c:if test="${paymentGateway.configData.type=='1'}">selected</c:if>><fmt:message key="system.pay.zhenshi"/></option>
				</select>
			</td>
		</tr> 
	</table>
</form>
</div>

<script>
$j(document).ready(function(){
	autoApplyValidate($j('#configForm')[0]);
});
</script>
